package com.ns.attendance.dao;

import java.io.Serializable;

import org.springframework.stereotype.Repository;

import com.ns.attendance.dao.model.MonthlyFlag;

/**
 * @author Han
 */
@Repository
public class MonthlyFlagDao extends BaseDao<MonthlyFlag, String>{
	@Override
	public Serializable save(MonthlyFlag t) {
		String sql = "insert into monthly_flag values(?)";
		return excuteSqlUpdate(sql, t.getIndex());
	}
}
